﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using Lilium.UI.Controls;

namespace Lilium.UI.Forms
{
    public sealed class LabelAdapter: ControlAdapter<Label>, ILabel
    {
        public LabelAdapter(Label control)
            : base(control)
        {
        }

        #region ILabel Members

        public string Text
        {
            get
            {
                return Control.Text;
            }
            set
            {
                Control.Text = value;
            }
        }

        #endregion

        #region ISource<Nothing> Members

        public event Action<Nothing> Pushed
        {
            add { }
            remove { }
        }

        #endregion
    }
}